<?php /* Smarty version 2.6.26, created on 2011-07-18 22:58:10
         compiled from grid/grid.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'grid/grid.tpl', 8, false),)), $this); ?>
<div id="grid">
    <table>
        <tr>
            <td>ID</td><td>Imię</td><td>Nazwisko</td><td>Email</td>
        </tr>
<?php $_from = $this->_tpl_vars['page']->getTable(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['myId'] => $this->_tpl_vars['i']):
?>
<?php echo '<tr bgcolor="'; ?><?php echo smarty_function_cycle(array('values' => "#aaaaaa,#bbbbbb"), $this);?><?php echo '">'; ?><?php $_from = $this->_tpl_vars['i']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['col']):
?><?php echo ''; ?><?php echo '<td>'; ?><?php echo $this->_tpl_vars['col']; ?><?php echo '</td>'; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</tr>'; ?>

<?php endforeach; endif; unset($_from); ?>
    </table>
<?php echo $this->_tpl_vars['page']->getPage(); ?>

    <form name="actionForm" action="index.php" method="POST">
        <input type="hidden" name="source" value="<?php echo $this->_tpl_vars['page']->getPageName(); ?>
"/>
        <input type="hidden" name="page" value="<?php echo $this->_tpl_vars['page']->getPage(); ?>
"/>
        <input type="submit" name="action" value="Next" />

        <input type="submit" name="action" value="Previous" />

    </form>
</div>